package com.ysu.his.dispensary;

import com.ysu.his.dispensary.properties.UserProperties;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.context.annotation.ComponentScan;

/**
 * 药房模块启动类
 */
@SpringBootApplication
@ComponentScan(basePackages = {"com.ysu.his"})
@MapperScan("com.ysu.his.dispensary.mapper")
@EnableConfigurationProperties({UserProperties.class})
public class DispensaryApplication {
    public static void main(String[] args) {
        SpringApplication.run(DispensaryApplication.class, args);
    }
} 